/* This is a generated file. Don't edit. Edit the source instead.
 */

#ifndef _ui_send_h_
#define _ui_send_h_

#include "ui.h"

int ui_send_hub_redirect(ui_t *ui, const char *hub_address, const char *new_address);
int ui_send_user_update(ui_t *ui, const char *hub_address, const char *nick, const char *description, const char *tag, const char *speed, const char *email, uint64_t share_size, int is_operator, unsigned int extra_slots);
int ui_send_public_message(ui_t *ui, const char *hub_address, const char *nick, const char *message);
int ui_send_server_version(ui_t *ui, const char *version);
int ui_send_connect_failed(ui_t *ui, const char *hub_address);
int ui_send_queue_remove_filelist(ui_t *ui, const char *nick);
int ui_send_port(ui_t *ui, int port);
int ui_send_transfer_aborted(ui_t *ui, const char *local_filename);
int ui_send_filelist_finished(ui_t *ui, const char *hub_address, const char *nick, const char *filename);
int ui_send_download_starting(ui_t *ui, const char *hub_address, const char *nick, const char *remote_filename, const char *local_filename, uint64_t filesize);
int ui_send_upload_starting(ui_t *ui, const char *hub_address, const char *nick, const char *local_filename, uint64_t filesize);
int ui_send_transfer_stats(ui_t *ui, const char *local_filename, uint64_t offset, uint64_t filesize, unsigned int bytes_per_sec);
int ui_send_private_message(ui_t *ui, const char *hub_address, const char *my_nick, const char *remote_nick, const char *remote_display_nick, const char *message);
int ui_send_queue_add_filelist(ui_t *ui, const char *nick, unsigned int priority);
int ui_send_hub_disconnected(ui_t *ui, const char *hub_address);
int ui_send_queue_add_target(ui_t *ui, const char *local_filename, uint64_t size, const char *tth, unsigned int priority);
int ui_send_queue_remove_target(ui_t *ui, const char *local_filename);
int ui_send_connection_closed(ui_t *ui, const char *nick, int direction);
int ui_send_queue_add_directory(ui_t *ui, const char *target_directory, const char *nick);
int ui_send_download_finished(ui_t *ui, const char *local_filename);
int ui_send_upload_finished(ui_t *ui, const char *local_filename);
int ui_send_init_completion(ui_t *ui, int level);
int ui_send_set_priority(ui_t *ui, const char *target_filename, unsigned int priority);
int ui_send_queue_remove_directory(ui_t *ui, const char *target_directory);
int ui_send_status_message(ui_t *ui, const char *hub_address, const char *message, ...);
int ui_send_user_command(ui_t *ui, const char *hub_address, int type, int context, const char *description, const char *command);
int ui_send_queue_add_source(ui_t *ui, const char *local_filename, const char *nick, const char *remote_filename);
int ui_send_queue_remove_source(ui_t *ui, const char *local_filename, const char *nick);
int ui_send_hubname(ui_t *ui, const char *hub_address, const char *new_name);
int ui_send_search_response(ui_t *ui, int id, const char *hub_address, const char *nick, const char *filename, int filetype, uint64_t size, int openslots, int totalslots, const char *tth, const char *speed);
int ui_send_share_stats(ui_t *ui, const char *path, uint64_t size, uint64_t totsize, uint64_t dupsize, unsigned int nfiles, unsigned int ntotfiles, unsigned int nduplicates);
int ui_send_user_login(ui_t *ui, const char *hub_address, const char *nick, const char *description, const char *tag, const char *speed, const char *email, uint64_t share_size, int is_operator, unsigned int extra_slots);
int ui_send_directory_finished(ui_t *ui, const char *target_directory);
int ui_send_user_logout(ui_t *ui, const char *hub_address, const char *nick);
int ui_send_stored_filelists(ui_t *ui, const char *nicks);
int ui_send_get_password(ui_t *ui, const char *hub_address, const char *nick);
int ui_send_hub_add(ui_t *ui, const char *hub_address, const char *hub_name, const char *nick, const char *description, const char *encoding);
#endif
